package com.rsy.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rsy.common.utils.PageUtils;
import com.rsy.product.entity.ProductAttrValueEntity;

import java.util.List;
import java.util.Map;

/**
 * spu属性值
 *
 * @author rsy
 * @email sunlightcs@gmail.com
 * @date 2022-05-01 00:16:03
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveProductAttr(List<ProductAttrValueEntity> productAttrValueEntityList);

    //获得spu规格
    List<ProductAttrValueEntity> baseAttrlistForSpu(Long spuId);
    //修改商品规格
    void updateSpuAttr(Long spuId, List<ProductAttrValueEntity> entities);
}

